<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_content
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */
// no direct access
defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers');

JFactory::getDocument()->addStyleSheet('templates/brainboot/assets/js-css/chrome.css');
JFactory::getDocument()->addStyleSheet('templates/brainboot/assets/js-css/reset.css');
JFactory::getDocument()->addScript("templates/brainboot/assets/js/jquery/jquery-1.7.1.js");
JFactory::getDocument()->addScript("templates/brainboot/assets/js/parallax-js-master/side-nav.js");
JFactory::getDocument()->addScript("templates/brainboot/assets/js/parallax-js-master/backgrounds.js");
JFactory::getDocument()->addScript("templates/brainboot/assets/js/parallax-js-master/kinetics.js");
JFactory::getDocument()->addScript("templates/brainboot/assets/js/parallax-js-master/parallax.js");


?>
<div id="mock-scroller"></div>
<ul id="nav"></ul>
<div id="content">
<?php if ($this->params->get('show_page_heading')) : ?>
	<h1>
		<?php echo $this->escape($this->params->get('page_heading')); ?>
	</h1>
	<?php endif; ?>



<?php $leadingcount=0 ; ?>
<?php if (!empty($this->lead_items)) : ?>

	<?php foreach ($this->lead_items as &$item) : ?>
		<section id="story-<?php echo $leadingcount; ?>">
		
			<?php
				$this->item = &$item;
				echo $this->loadTemplate('item');
			?>
		
		</section>
		<?php
			$leadingcount++;
		?>
	<?php endforeach; ?>

<?php endif; ?>
<?php
	$introcount=(count($this->intro_items));
	$counter=0;
?>



</div>
